/**
 * Configure and register global directives
 */
import type { App } from "vue";
import { setupPermissionDirective, setupRoleDirective } from "./permission";
import { setupClickOutsideDirective } from "./clickOutside";

export function setupGlobDirectives(app: App) {
  setupPermissionDirective(app);
  setupRoleDirective(app);
  setupClickOutsideDirective(app);
}
